//验证角度
export const imgVerify = (data, dragRotate) => {
  return new Promise((resolve, reject) => {
    const { rotate } = data;
    if (
      355 <= dragRotate + rotate &&
      dragRotate + rotate <= 368
    ) {
      resolve({ suited: true });
    } else {
      resolve({ suited: false });
    }
  });
}

